package com.cloud.api.user.repository;

import java.util.List;

import org.springframework.data.repository.reactive.ReactiveCrudRepository;
import org.springframework.stereotype.Repository;

import com.cloud.model.ActRecord;

public interface ActRecordESRepository extends ReactiveCrudRepository<ActRecord, String> {
	public ActRecord findByIdAndOrgi(String id, String orgi);

	public List<ActRecord> findByPlayeridAndOrgi(String playerid, String orgi);

	public int countByPlayeridAndOrgiAndDayAndRectype(String playerid, String orgi, String day,
			String rectype);
}
